import { faker } from "@faker-js/faker";
import type { EventInput } from "@fullcalendar/core";
import dayjs from "dayjs";

export const INITIAL_EVENTS: EventInput[] = [
	{
		id: faker.string.uuid(),
		title: "春眠不觉晓，处处闻啼鸟",
		start: dayjs().toISOString(),
		end: dayjs().add(10, "hour").toISOString(),
		color: "#7a0916",
	},
	{
		id: faker.string.uuid(),
		title: "明月几时有，把酒问青天",
		start: dayjs().add(1, "day").toISOString(),
		end: dayjs().add(3, "day").toISOString(),
		allDay: true,
		color: "#00b8d9",
	},
	{
		id: faker.string.uuid(),
		title: "山重水复疑无路，柳暗花明又一村",
		start: dayjs().add(3, "day").toISOString(),
		end: dayjs().add(5, "day").toISOString(),
		allDay: false,
		color: "#ff5630",
	},
	{
		id: faker.string.uuid(),
		title: "海上生明月，天涯共此时",
		start: dayjs().add(7, "day").toISOString(),
		end: dayjs().add(8, "day").toISOString(),
		allDay: true,
		color: "#ffab00",
	},
	{
		id: faker.string.uuid(),
		title: "采菊东篱下，悠然见南山",
		start: dayjs().add(7, "day").toISOString(),
		end: dayjs().add(8, "day").toISOString(),
		allDay: false,
		color: "#ffab00",
	},
	{
		id: faker.string.uuid(),
		title: "桃花潭水深千尺，不及汪伦送我情",
		start: dayjs().add(8, "day").toISOString(),
		end: dayjs().add(9, "day").toISOString(),
		allDay: true,
		color: "#8e33ff",
	},
	{
		id: faker.string.uuid(),
		title: "落霞与孤鹜齐飞，秋水共长天一色",
		start: dayjs().add(10, "day").toISOString(),
		end: dayjs().add(11, "day").toISOString(),
		color: "#00a76f",
	},
];
